package org.bookie.model;

import javax.persistence.Basic;
import javax.persistence.MappedSuperclass;

import org.hibernate.validator.NotNull;

@MappedSuperclass
public class LabeledEntity extends CommonEntity {
	private static final long serialVersionUID = -4069260673935736031L;
	
	/**Label of the entity*/
	@Basic @NotNull private String label;
	
	/**
	 * Get the label of the entity
	 */
	public String getLabel() {
		return label;
	}
	
	/**
	 * Set the label of the entity
	 * @param label label to set
	 */
	public void setLabel(String label) {
		this.label = label;
	}
}
